package com.augurit.gzcgwsp.exchangeOtherData.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 与内门户数据交换表
 * @author 张军
 *
 */
@Entity
@Table(name = "interiornet_data")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class InteriornetData {
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="seq_interiornet_data", sequenceName="seq_interiornet_data", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="seq_interiornet_data")
    private Long id;
	private String acceptno;
	private String sts;//1表示未和内门户改变状态，2//发送成功3 失败
	private String userName;
	private String acvityName;
	private String isSend;
	private String procinstId;
	private Long instanceId;//流程实例id
	private String datasts;//1待办2已3办结
	private String createTime;//jbpm4_hist_task表的create
	private String dbid_;//jbpm4_hist_task表的dbid_




	public String getDbid_() {
		return dbid_;
	}

	public void setDbid_(String dbid_) {
		this.dbid_ = dbid_;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(Long instanceId) {
		this.instanceId = instanceId;
	}

	public String getProcinstId() {
		return procinstId;
	}

	public void setProcinstId(String procinstId) {
		this.procinstId = procinstId;
	}

	public String getIsSend() {
		return isSend;
	}

	public void setIsSend(String isSend) {
		this.isSend = isSend;
	}

	public String getAcceptno() {
		return acceptno;
	}

	public void setAcceptno(String acceptno) {
		this.acceptno = acceptno;
	}

	public String getSts() {
		return sts;
	}

	public void setSts(String sts) {
		this.sts = sts;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAcvityName() {
		return acvityName;
	}

	public void setAcvityName(String acvityName) {
		this.acvityName = acvityName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDatasts() {
		return datasts;
	}

	public void setDatasts(String datasts) {
		this.datasts = datasts;
	}
	

	
    
	
	
}
